package com.hanserwei.community.controller;

import com.hanserwei.community.entity.common.ApiResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/health")
public class HealthController {
    @GetMapping("/check")
    public ApiResponse<String> check() {
        return ApiResponse.success("OK");
    }
}
